package fm.dongman.animefm.view.activity

import android.support.v7.app.AppCompatActivity
import fm.dongman.animefm.view.fragment.*

/**
 * Base
 * Created by shize on 2017/9/18.
 */
abstract class BaseActivity :AppCompatActivity(){
    /**
     * 销毁 fragment
     */
    protected fun destroyFragment() {
        HomeFragment.destroyInstance()
        FindFragment.destroyInstance()
        FArticleFragment.destroyInstance()
        FSheetFragment.destroyInstance()
        FRankFragment.destroyInstance()
        ComicFragment.destroyInstance()
        MyFragment.destroyInstance()
    }

}
